//
//  LWQSwichButtonView.h
//  SanYiTeaching
//
//  Created by 李文强 on 2019/4/10.
//  Copyright © 2019 李文强. All rights reserved.
//

#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN

@protocol LWQSwichButtonDelegate <NSObject>

@optional
- (void)back;
- (void)scrollViewChangeButtom:(int)index;
- (void)nianJiSelected;
@end

@interface LWQSwichButtonView : UIView{
    NSMutableArray *dataArray;
    UIView *lineView;
}
@property (nonatomic, strong) UIButton *backButton;
@property (nonatomic, assign) id<LWQSwichButtonDelegate>delegate;
- (instancetype)initWithFrame:(CGRect)frame andArray:(NSMutableArray *)buttonArray;
- (void)uploadLayout;
@end

NS_ASSUME_NONNULL_END
